/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package id2212.homework2;

import bankrmi.Account;
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author yann
 */
public interface ClientInter extends Remote {

    public void createNewAccount(String name, String password, float deposit)
            throws RemoteException, bankrmi.Rejected;

    public void getAccount(String name, String password)
            throws RemoteException, bankrmi.Rejected;

    public void callBackWish(String str)
            throws RemoteException;

    public Account getClientAccount()
            throws RemoteException;

    public void callBackGotWish(String str)
            throws RemoteException;
}
